home *** CD-ROM | disk | FTP | other *** search
/ The World of Computer Software / The World of Computer Software.iso / tlxtime6.zip / TIMESET.DOC < prev    next >
Text File  |  1990-10-12  |  5KB  |  127 lines

  1.  
  2. Modified: 10 - 12 - 1990
  3.       Paul Gardner 408-297-9660
  4.  
  5.       I wish to thank the original aurthor of this script file.
  6.  
  7.       I took the liberty of modifing the UTC capture routine as
  8.       the original did not reliably capture and hangup on my
  9.       clone.
  10.  
  11.       Added variables turn off the alarm sound at connect time.
  12.       Added calendar date set.
  13.  
  14.       I may be one second off in the clock set. If so I will
  15.       correct it next go around.
  16.  
  17.       I also included two batch files and two .com files in the zip
  18.       You may have to modify the batch files to match your hard
  19.       disk setup. The Blue.com sets the screen background blue
  20.       on ega and vga screens.
  21.  
  22.       The com.files and rolex.scr should be installed in your root
  23.       directry and a path command set to the root.
  24.  
  25. USAGE:
  26.       The Rolex is available with EGA and VGA screens and
  27.       is executed by typeing rolex
  28.  
  29.       The DOS time is set by executing either the bat file
  30.       timeset on none ega-vga computers or setrolex if ega-vga.
  31.  
  32.       On AT type computers the cmos clock is also corrected
  33.       this may not be true on all clones so you may have to
  34.       continue research on yours
  35.  
  36.       You must also edit the time zone setting in the .slt file
  37.       and recompile with cs if you are not in PDT.
  38.  
  39.                Standard Time Differences
  40.             for Various World Cities
  41.              Relative to Greenwich, England
  42.  
  43. Note: These differences are based on standard time for all cities listed.
  44.  
  45.       Tokyo       9 hours     (Do not precede positive numbers with
  46.       Hong Kong      8 hours      a plus sign during configuration.)
  47.       Beijing      8 hours
  48.       Jakarta      8 hours
  49.       Bombay      5.5 hours
  50.       Karachi      5 hours
  51.       Moscow      3 hours
  52.       Nairobi      3 hours
  53.       Riyadh      3 hours
  54.       Cairo       2 hours
  55.       Johannesburg      2 hours
  56.       Rome          1 hours
  57.       Paris       1 hours
  58.   --->      GREENWICH      0 hours    <---   (0 degrees longitude)
  59.       Dakar       0 hours
  60.       Reykjavic      0 hours
  61.       Caracas     -4 hours    (Use the minus sign during configuration.)
  62.       New York     -5 hours
  63.       Chicago     -6 hours
  64.       Mexico City     -6 hours
  65.       Denver     -7 hours
  66.       San Francisco  -8 hours
  67.       Anchorage     -9 hours
  68.       Honolulu     -10 hours
  69.  
  70. Oringinal Author:    Unknown
  71. Original Notes:
  72.      FILES:
  73.      This archive should contain three files:  Timeset.doc (this
  74.      file), TIMESET.SLT (the source), and TIMESET.SLC (the
  75.      compiled version).
  76.  
  77.      DESCRIPTION:
  78.      TIMESET is a script file written for TELIX v3.0 and is used
  79.      to set your DOS clock to the precise time from the Naval
  80.      Observatory in Washington DC.
  81.  
  82.      WHY?
  83.      I wrote this script to replace a much larger program that I
  84.      had been using.  Who needs to keep a program larger than 100k
  85.      on the hard drive when a script less than 1k will do the job
  86.      just as well?
  87.  
  88.      USAGE:
  89.      Using this script is simple.  Place TIMESET.SLC into the
  90.      directory that you keep your scripts in.  After bringing up
  91.      TELIX, hit alt-g.  When asked which script you want to run,
  92.      type TIMESET <enter>.    TIMESET will call the Naval
  93.      Observatory, get the precise time, and set your DOS clock to
  94.      it.  Then TIMESET will display the current time with a real
  95.      time clock on the screen.  This will let you gather up all of
  96.      the clocks in your house so you can set them.    When you are
  97.      done, just hit the space bar to exit.
  98.  
  99.      DISCLAIMERS:
  100.      I wrote TIMESET primarily for my own use.  It probably has at
  101.      least a couple of examples of not-so-good programing
  102.      practices in it, but it works fine for me.
  103.  
  104.      Note that the code is fairly well commented.  Specifically,
  105.      if you use TIMESET in a different time zone than mine, you
  106.      should be able to find the line where I adjusted from
  107.      Universal Time to my local time and make the proper
  108.      adjustments to suit you.  Also, this will become important
  109.      when it is time to make the transition to and from daylight
  110.      savings time.    Hmmm.  Is it spring forward, fall back.  Or is
  111.      it fall forward, spring back.    I dunno.  I can never
  112.      remember.  Anyway, it would have been a fairly easy job to
  113.      put something in the script to handle this, but I didn't.
  114.  
  115.      Also note that you may find it necessary to put another line
  116.      in the script that will transfer the DOS time to the memory
  117.      of your built-in clock.  Setting your DOS time does not
  118.      necessarily mean that the time also goes into your hardware
  119.      clock.
  120.  
  121.      I will not be liable for any damages or claims related in any
  122.      way to the use of this script.  I make no warranties and
  123.      specifically disclaim any implied warranties of this product.
  124.      Also, I make no claims of suitability of this product for any
  125.      purpose other than to take up space on your disk.
  126.  
  127.